#ifndef ADDCLIENT_H
#define ADDCLIENT_H

#include <QDialog>
#include <qsqldatabase.h>
#include <QMap>
namespace Ui {
class AddClient;
}

class AddClient : public QDialog
{
    Q_OBJECT

public:
    explicit AddClient(QWidget *parent = 0);
    AddClient(QSqlDatabase* db);
    QMap<QString,QString> getClientInfo();
    ~AddClient();

private slots:
    void on_buttonBox_accepted();

private:
    Ui::AddClient *ui;
    QSqlDatabase* ptrDb;
    QMap<QString,QString> clientInformation;
};

#endif // ADDCLIENT_H
